﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="xemgopy.ascx.cs" Inherits="eDream.admin.xemgopy" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxCallbackPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<div style="margin-top: 20px">
    <div class="cloum_text">
        Từ ngày
    </div>
    <div class="cloum_1">
        <dx:ASPxDateEdit ID="dteFrom" runat="server" Theme="DevEx" Height="29px"></dx:ASPxDateEdit>
    </div>
    <div class="cloum_text">
        Đến ngày
    </div>
    <div class="cloum_1">
        <dx:ASPxDateEdit ID="dteTo" runat="server" Theme="DevEx" Height="29px"></dx:ASPxDateEdit>
    </div>

    <div class="cloum_1">
        <dx:ASPxButton ID="btnTim" runat="server" Text="Tìm" Theme="iOS" AutoPostBack="false">
            <ClientSideEvents Click="function(s, e) {cpanl.PerformCallback();}" />
        </dx:ASPxButton>
    </div>
    <div class="Clear"></div>
    <div class="grvConten">
        <dx:ASPxCallbackPanel ID="ASPxCallbackPanel1" runat="server" ClientInstanceName="cpanl" OnCallback="ASPxCallbackPanel1_Callback" Width="100%">
            <PanelCollection>
                <dx:PanelContent>
                    <dx:ASPxGridView ID="grvResult" runat="server" AutoGenerateColumns="False" Width="100%" EnableTheming="True" KeyFieldName="IDf" Theme="DevEx" OnLoad="grvResult_Load">
                        <Columns>

                            <dx:GridViewDataTextColumn Caption="Họ và tên" FieldName="hovaten" VisibleIndex="2" Width="30%">
                                <DataItemTemplate>
                                    <a href='<%# String.Format("Canhan.aspx?page=Feback-detail&&k={0}",Eval("IDf")) %>'><%#Eval("hovaten") %></a>
                                </DataItemTemplate>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Email" FieldName="email" VisibleIndex="3" Width="20%">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Địa chỉ" FieldName="diachi" VisibleIndex="4" Width="30%">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Điện thoại" FieldName="dienthoai" VisibleIndex="5" Width="10%">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataDateColumn Caption="Ngày gửi" FieldName="datePost" VisibleIndex="5" Width="10%">
                                <PropertiesDateEdit DisplayFormatString="dd/MM/yyyy"></PropertiesDateEdit>
                            </dx:GridViewDataDateColumn>
                        </Columns>
                        <Settings ShowFilterRow="true" ShowHeaderFilterButton="true" />
                    </dx:ASPxGridView>
                </dx:PanelContent>
            </PanelCollection>
        </dx:ASPxCallbackPanel>
    </div>
    </div>